<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="head.htm" />
<title>Hotelorganizer</title>
</head>
<body>
	<div id="head">
		<h1>HotelOrganizer</h1>
	</div>
	<jsp:include page="menu-hotel.htm" />
	<div id="content">
		<h2>
			<c:out value="${title}" />
		</h2>
		<p>
			<c:out value="${message}" />
		</p>
		<form method="post" action="Reservieren.html">
			<table class="editing">
				<colgroup>
					<col class="attribute" />
					<col class="value" />
				</colgroup>
				<tbody>
					 <tr>
						<td></td>
						<td><input type="hidden" name="id"
							value='<c:out value="${zimmerkunde.id}"/>' />
						<div id="Ebene1" style="position: absolute; width: 456px; height: 327px; z-index: 1; left: 350px; top: 35px">
							<img alt="Elegantes Zimmer in unserem exklusiven Hotel" height="253" longdesc="Elegantes Zimmer in unserem exklusiven Hotel" src="images/424544_web_R_by_W.%20Broemme_pixelio.de.jpg" width="345"></div>
						 </td>
					</tr>
					<tr> 
						<!-- 						<td>zimmerKunde.zimmer.id</td> -->
						<!-- 						<td><input type="text" name="zimmerId" -->
						<%-- 							value='<c:out value="${zimmerKunde.fk_kunde}"/>' /></td> --%>
						<!-- 					</tr> -->
						<!-- 					<tr> -->
						<!-- 						<td>zimmerKunde.kunde.id</td> -->
						<!-- 						<td><input type="text" name="kundeId" -->
						<%-- 							value='<c:out value="${zimmerKunde.fk_zimmer}"/>' /></td> --%>
						<!-- 					</tr> -->
					<tr>
						<td>Zimmer:</td>
						<td><select name="zimmer" size="1">
								<c:forEach items="${zimmer1}" var="zimmer">
									<option value="${zimmer.id}">${zimmer.nr}, ${zimmer.kategorie.bezeichnung}, ${zimmer.kategorie.preis}0 €</option>
									
								</c:forEach>
						</select></td>
					</tr>
					<tr>
						<td>Kunde:</td>
						<td><select name="kunde" size="1">
								<c:forEach items="${kunden}" var="kunde">
									<option value="${kunde.id}">${kunde.name}, ${kunde.vorname}</option>
								</c:forEach>
						</select></td>
					</tr>
					<tr>
						<td>reserviert</td>
						<td><select name="reserviert" size="1">
								<option value="false">nein</option>
								<option value="true">ja</option>
						</select></td>
					</tr>
					<tr>
						<td>belegt</td>
						<td><select name="belegt">
								<option value="false">nein</option>
								<option value="true">ja</option>
						</select> <!-- 						<input type="checkbox" name="belegt" --> <%-- 							value='<c:out value="${zimmerKunde.belegt}"/>' /> --%>

						</td>
					</tr>
					<tr>
						<td>ausgecheckt</td>
						<td><select name="ausgecheckt">
								<option value="false">nein</option>
								<option value="true">ja</option>
						</select> <!-- 							<input type="checkbox" name="ausgecheckt" --> <%-- 							value='<c:out value="${zimmerKunde.ausgecheckt}"/>' /> --%>
						</td>
					</tr>
					<tr>
						<td>Von: (TT.MM.JJJJ)</td>
						<td><input type="text" name="anfang"
							value='<c:out value="${zimmerkunde.anfang}"/>' /></td>
					</tr>
					<tr>
						<td>Bis (TT.MM.JJJJ)</td>
						<td><input type="text" name="ende"
							value='<c:out value="${zimmerkunde.ende}"/>' /></td>
					</tr>
					<tr>
						<td><input type="submit" value="Speichern" /></td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>

</body>
</html>